package com.stu.student_back_end.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Date;

/**
 * 缺寝记录
 */
@Data
@TableName("tbl_nohere")
public class TblNoHere {

    @TableId(value = "id",type = IdType.AUTO)
    private int id;

    @TableField("buildName")
    private String buildName;

    @TableField("dormName")
    private String dormName;

    @TableField("studentName")
    private String studentName;

    @TableField("reason")
    private String reason;

    @TableField("leaveTime")
    private Date leaveTime;

    @TableField("createTime")
    private Date createTime;
}
